package com.zhny.aiot.wind.direction.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;

public class WindDirectionStoreEntry extends StoreEntity {
    @PropertyValue(alias = "风向",description = "旋转角度",unit = "°",icon=IconConstract.Direction,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private int direction;

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }
}
